package com.delicious.entity;

import java.sql.Date;

public class News {
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getPublishDate() {
		return publishDate;
	}
	public void setPublishDate(String publishDate) {
		this.publishDate = publishDate;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	private int id ;
	private String title;
	private String content;
	private String publishDate;
	private int userid;
	public News(int id, String title, String content, String publishDate,
			int userid) {
		super();
		this.id = id;
		this.title = title;
		this.content = content;
		this.publishDate = publishDate;
		this.userid = userid;
	}

	public News() {
		// TODO Auto-generated constructor stub
	}
}
